package com.example.demo.model.entity;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:龙宝
 * Date:2024-05-24
 * Time:16:55
 */
@Data
public class Likes {
    private Integer id;
    private Integer postId;
    private Integer targetId;
    private Integer artId;
    private Long ctime;
    private Integer stat;

    public Likes(Integer postId, Integer targetId, Integer artId) {
        this.postId = postId;
        this.targetId = targetId;
        this.artId = artId;
        this.ctime = System.currentTimeMillis();
    }
    public Likes(){}
}
